<template>
  <div>
    <el-menu-item index="user-management" @click="$emit('navigate', '/admin/user-management')">
      <el-icon><UserFilled /></el-icon>
      <template #title>用户管理</template>
    </el-menu-item>

    <el-menu-item
      index="psychologist-management"
      @click="$emit('navigate', '/admin/psychologist-management')"
    >
      <el-icon><User /></el-icon>
      <template #title>心理师管理</template>
    </el-menu-item>

    <el-menu-item
      index="consultation-management"
      @click="$emit('navigate', '/admin/consultation-management')"
    >
      <el-icon><Calendar /></el-icon>
      <template #title>心理咨询管理</template>
    </el-menu-item>

    <el-menu-item
      index="category-management"
      @click="$emit('navigate', '/admin/category-management')"
    >
      <el-icon><Files /></el-icon>
      <template #title>咨询类别管理</template>
    </el-menu-item>

    <el-menu-item
      index="archive-management"
      @click="$emit('navigate', '/admin/archive-management')"
    >
      <el-icon><Folder /></el-icon>
      <template #title>心理档案管理</template>
    </el-menu-item>

    <el-menu-item
      index="notification-management"
      @click="$emit('navigate', '/admin/notification-management')"
    >
      <el-icon><Bell /></el-icon>
      <template #title>通知消息管理</template>
    </el-menu-item>

    <el-menu-item
      index="assessment-management"
      @click="$emit('navigate', '/admin/assessment-management')"
    >
      <el-icon><Aim /></el-icon>
      <template #title>心理测试管理</template>
    </el-menu-item>

    <el-menu-item
      index="question-management"
      @click="$emit('navigate', '/admin/question-management')"
    >
      <el-icon><Document /></el-icon>
      <template #title>试题管理</template>
    </el-menu-item>

    <el-menu-item index="system-management" @click="$emit('navigate', '/admin/system-management')">
      <el-icon><Setting /></el-icon>
      <template #title>系统管理</template>
    </el-menu-item>
  </div>
</template>

<script setup>
import {
  UserFilled,
  User,
  Calendar,
  Files,
  Folder,
  Bell,
  Aim,
  Document,
  Setting,
} from '@element-plus/icons-vue'

defineEmits(['navigate'])
</script>
